package com.oocl.service;


import java.util.List;

import com.oocl.dto.FoodDTO;
import com.oocl.dto.MUserDTO;
import com.oocl.exception.MyException;
import com.oocl.pojo.Muser;

public interface MuserService {
	public String addMuser(Muser m) throws MyException;
	
	public List<Muser> findAll() throws MyException;
	
	public Muser loadMuser(Muser m) throws MyException;//登录用

	public Muser loadMuserById(String mid) throws MyException;
	
	public Muser loadMuserByIcnum(String icnum) throws MyException;
	
	public MUserDTO loadMuserDTOById(String mid) throws MyException;

	public int updateMuserStatus1(Muser muser)throws MyException;

	public int updateMuser(Muser omuser) throws MyException;
	
	public MUserDTO loadMuserDTOByIcnum(String icnum)throws MyException;

	public List<MUserDTO> loadMusersDTOsByFtype(String ftype) throws MyException;;
	
}
